﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using simpleHotel.Business;
using simple.Utilities;

namespace simpleHotel.Web
{
    public partial class CompanyIntroduction : PageBase
    {
        About about = new About();

        protected void Page_Load(object sender, EventArgs e)
        {
            if (!IsPostBack)
            {
                loadData();
            }            
        }

        private void loadData()
        {
            dlAboutUs.DataSource = about.getAbout();
            dlAboutUs.DataBind();
        }
    }
}